package com.guigusuqi.hy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author suqi
 * @since 2022-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hy_user_deputy_card")
@ApiModel(value="UserDeputyCard对象", description="")
public class UserDeputyCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分享给副卡用户的手机号")
    private String phone;

    @ApiModelProperty(value = "主卡id")
    private String userCardId;

    @ApiModelProperty(value = "副卡id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;


}
